Auto merge of #3614 - matklad:simpler-cli-2, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 31 Jan 2017 04:48:02 +0000 (04:48 +0000)
committerbors <bors@rust-lang.org>
Tue, 31 Jan 2017 04:48:02 +0000 (04:48 +0000)
commit546212ccc2c488595e3ce6a2a70bb512948c9da3
tree2734fc7f5912dd783e68dee0da66adab881073f2
parent1aa510dcc408d6d00e3b360c89c470acd3664e3b
parent0c7e73c22c2b6393f19111d8dcea79f30d19153c
Auto merge of #3614 - matklad:simpler-cli-2, r=alexcrichton

Remove generic infrastrucure for printing json

Only a couple of command really use this features, so it's clearer just to print json right on the spot rather then return it though the call stack.

`CliResult` is now just a `Result<(), CliError>`.
src/bin/new.rs